import instance from '@/utils/request';
//显示
export function getCarData(data) {
    return instance.request({
        url:"/api/Car/GetCar",
        method: "get",
        data
    })
}

//添加
export function addCarData(data) {
    return instance.request({
        url:"/api/Car/PostAddCar",
        method: "post",
        data
    })
}
//删除
export function deleteCarData(data) {
    return instance.request({
        url:"/api/Car/DeleteCar",
        method: "delete",
        data
    })
}
//修改
export function updateCarData(data) {
    return instance.request({
        url:"/api/Car/PutUpdateCar",
        method: "put",
        data
    })
}

//批量删除
export function deleteCarDatas(data) {
    return instance.request({
        url:"/api/Car/CarsDeleteDatas?ids=",
        method: "post",
        data
    })
}